home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / comm / robo42_a.zip / WCRELAY.RS < prev    next >
Text File  |  1992-07-23  |  1KB  |  47 lines

  1. TITLE "PCRelay Mail run for Wildcat!"
  2. ;-----------------------------------------------------------------------
  3. ; To use this script, make sure your defined file download protocol is
  4. ; either Robocomm's internal Zmodem or an external Zmodem batch call.
  5. ;-----------------------------------------------------------------------
  6. PARAMETER 1 "Enter the PCRelay door #"
  7. PARAMETER 2 "Enter the door password (optional)"
  8. PARAMETER 3 "Enter the path\name of the OUT file"
  9. PARAMETER 4 "Enter the desired location of IN.RLY"
  10. ENDPARAMS
  11.  
  12.     VENUE MAIN
  13.     SEND "D|"
  14.     WHEN "-PAUSE-" SEND "|"
  15.     WHEN "CONTINUE" SEND "|"
  16.     WAITFOR "ENTER DOOR NUMBER"
  17.     
  18.     ; Send the door number
  19.     SEND "%P1%|"
  20.  
  21.     ; Send the password if one was eneterd.
  22.     IF NOT EMPTY "%P2%" SEND "%P2%|"
  23.  
  24.     CLEAR WATCHES
  25.  
  26.     ; Watch for part of the Zmodem header
  27.     WAITFOR "*"
  28.  
  29.     ; Set the timeout value on the next line to however many seconds you think
  30.     ; it might take for the BBS to start sending your packet:
  31.     TIMEOUT 360
  32.  
  33.     ; Send the packet via internal Zmodem
  34.     UPLOAD "%P3%" USING "ZMODEM"
  35.  
  36.     SEND "|"
  37.  
  38.     ; Wait for the door to start sending the messages
  39.     WAITFOR "*"
  40.  
  41.     ; Receive your in.rly
  42.     DOWNLOAD "%4" USING "ZMODEM"
  43.  
  44.     VENUE MAIN
  45.  
  46. EXIT 0
  47.